from django.test import TestCase

# Create your tests here.
def register_xx(*method):
    print(method)
    def x(proc):
        print(type(proc))
        proc()
        pass
    return x

class MM:
    @register_xx("good")
    def mm(self):
        print("mm")

    @staticmethod
    @register_xx("yr")
    def mmx():
        print("mmx")